<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body {
        width: 1000px;
        margin: 0 auto;
      }
      * {
        padding: 0;
        margin: 0;
      }
      h1 {
        width: 70%;
        float: left;
        height: 60px;
        color: green;
        font-size: 36px;
      }
      #welcome {
        width: 30%;
        float: left;
        height: 60px;
        line-height: 60px;
        vertical-align: middle;
        text-align: center;
      }
      .content {
        width: 100%;
        overflow: hidden;
      }
      .content img {
        width: 100%;
        border-radius: 10px;
      }
    </style>
  </head>
  <body>
    <h1>在线教育</h1>
    <div id="welcome">XXX,欢迎您</div>
    <div class="content">
      <img src="images/index.png" alt="" />
    </div>
  </body>
</html>
